$OpenBSD: patch-amarok_src_engine_xine_xine-engine_cpp,v 1.1 2012/11/28 07:16:35 brad Exp $
--- amarok/src/engine/xine/xine-engine.cpp.orig	Tue Nov 27 18:49:59 2012
+++ amarok/src/engine/xine/xine-engine.cpp	Tue Nov 27 18:50:53 2012
@@ -1131,7 +1131,11 @@ bool XineEngine::metaDataForUrl(const KURL &url, Engin
 
 bool XineEngine::getAudioCDContents(const QString &device, KURL::List &urls)
 {
+#if XINE_MAJOR_VERSION > 1 || ( XINE_MAJOR_VERSION == 1 && XINE_MINOR_VERSION >= 2 )
+    const char * const* xine_urls = NULL;
+#else
     char **xine_urls = NULL;
+#endif
     int num;
     int i = 0;
 
